package com.xd.cloud.entity.vehicle;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.xd.cloud.entity.BaseEntity;

/**
 * gps实时定位数据信息
 * @author dhl
 *
 */
@Entity
@Table(name = "tb_gps_data_runtime")
public class GpsData extends BaseEntity {
	
	// @Fields serialVersionUID : TODO
	private static final long serialVersionUID = -2938136423443428439L;
	//设备ID
	private String device_id;
	//纬度
	private double lat;
	//经度
	private double lng;
	//速度
	private double speed;
	//方向
	private double direction;
	//ACC
	private Integer acc;
	//里程
	private double mileage;
	//油量
	private double ol;
	//状态
	private String status;
	//信号强度
	private Integer csq;
	//GPS时间
	private Date gpstime;
	//入库时间
	private String create_time;
	
	public String getDevice_id() {
		return device_id;
	}
	public void setDevice_id(String device_id) {
		this.device_id = device_id;
	}
	public double getLat() {
		return lat;
	}
	public void setLat(double lat) {
		this.lat = lat;
	}
	public double getLng() {
		return lng;
	}
	public void setLng(double lng) {
		this.lng = lng;
	}
	public double getSpeed() {
		return speed;
	}
	public void setSpeed(double speed) {
		this.speed = speed;
	}
	public double getDirection() {
		return direction;
	}
	public void setDirection(double direction) {
		this.direction = direction;
	}
	public Integer getAcc() {
		return acc;
	}
	public void setAcc(Integer acc) {
		this.acc = acc;
	}
	public double getMileage() {
		return mileage;
	}
	public void setMileage(double mileage) {
		this.mileage = mileage;
	}
	public double getOl() {
		return ol;
	}
	public void setOl(double ol) {
		this.ol = ol;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Integer getCsq() {
		return csq;
	}
	public void setCsq(Integer csq) {
		this.csq = csq;
	}
	public Date getGpstime() {
		return gpstime;
	}
	public void setGpstime(Date gpstime) {
		this.gpstime = gpstime;
	}
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
}
